package com.linjiahao.userCenter.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.linjiahao.servicebase.common.ResultMap;
import com.linjiahao.userCenter.domain.ChatUserInfo;
import com.linjiahao.userCenter.vo.PersonInfoVO;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @ClassName ChatUserInfoService
 * @Description: 用户服务抽象类
 * @Author linjiahao
 * @Date 29/12/2021
 **/
public interface ChatUserInfoService extends IService<ChatUserInfo> {

    ResultMap userLogin(String phone, String code,HttpServletResponse response);

    void logout(String authToken);

    ResultMap getUserInfoBytoken(String authToken);

    List<PersonInfoVO> searchPerson(String keyWord,Long userId);

    List<ChatUserInfo> getUserInfoList(List<Long> userIds);
}
